  cal 1960 2 4
  allocate 0 2002:1    ; *REM: a zero and date for the final observation
  open data irelanddata.xls     ; *REM The data file
  data(format=xls,org=obs)  / Ly Lc Lh h LkP DLPy Lpop
*set Ly / =  Ly + Lpop
*set Lc / =  Lc + Lpop
*set Lh / =  Lh + Lpop
*set Lkp / =  Lkp + Lpop

*REM: Ly=Log(GDP), Lc=log(real consumption),  Lh=log(total hours worked), LCapG=log(Gross capital) DLPy=Delta(logPy)

set dump7004 = T==1970:4
set dump7403 = T==1974:3
set dump7404 = T==1974:4

set dump7801 = T==1978:1
set dump8001 = T==1980:1
set dump8003 = T==1980:3
set dumtr8001 / = 0.0
eval dumtr8001(1980:1) = 1.0
eval dumtr8001(1980:3) = -1.0

*Full sample analysis
smpl 1960:2 2002:2
source z:\catsny\cats.src
@cats(lags=2,break=level,dum,dettrend=cidrift)
# Ly Lc Lh LkP
# 1978:1
# dump7004 dump7403 dump7404 dumtr8001

*first half of split sample analysis
smpl 1960:2 1979:4
source z:\catsny\cats.src
@cats(lags=2,break=level,dum,dettrend=cidrift)
# Ly Lc Lh LkP
# 1978:1
# dump7004 dump7403 dump7404

*second half of split sample analysis
smpl  1981:2 2002:1
source z:\catsny\cats.src
@cats(lags=2,dettrend=drift)
# Ly Lc Lh LkP



# 1978:1































